package cc.chengheng.spring代码测试;

import cc.chengheng.spring代码测试.CircularDependency.A;
import cc.chengheng.spring代码测试.CircularDependency.B;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Client {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        A a = context.getBean("a", A.class);
        B b = context.getBean("b", B.class);

    }
}
